#include<iostream>
using namespace std;
int main(){
  double a;
  cin>>a;
  cout<<fixed;
  cout<<a<<endl;
  cout.precision(5);
  cout<<fixed;
  cout<<a<<endl;
  cout.precision(6);
  cout<<fixed;
  cout<<scientific;
  cout<<a<<endl;
  cout<<defaultfloat;
  cout<<a<<endl;
}